package utils;

public class Constantes
{
	public static final String URL = "vps-924414-x.dattaweb.com";
    public static final String PUERTO = "8080";
    public static final String SERVLET = "RapiServer";
    public static final String SERVICIOS = "rest";
    
    public static final String URL_COMPLETA = "http://" + URL + ":" + PUERTO + "/" + SERVLET + "/" + SERVICIOS + "/";
    
    public static final String CHOFERES = "chofer/";
    public static final String PASAJEROS = "pasajero/";
    public static final String USUARIOS = "usuario/";
    public static final String VIAJES = "viaje/";
    public static final String TURNOS = "turnos/";
    
    public static final String ACEPTAR = "aceptar";
    public static final String INICIAR_VIAJE = "iniciar";
    public static final String FINALIZAR_VIAJE = "finalizar";
    public static final String ACTUALIZAR_PUNTO = "actualizar_punto";
    
    public static final String INICIAR_TURNO = "iniciarTurno";
    public static final String CERRAR_TURNO = "cerrarTurno";
    public static final String TURNO_CHOFER = "turnoChofer";
    
    public static final String REGISTRAR = "registrar";
    
    public static class Calificaciones
	{
		public static final int NEGATIVA = -1;
		public static final int NEUTRAL = 0;
		public static final int POSITIVA = 1;
	}
    
    public static class Choferes
    {
    	public static final String SERVICIO = "chofer/";
    	
    	public static final String INICIAR_SESION = "iniciarSesion";
    	public static final String CERRAR_SESION = "cerrarSesion";
    	public static final String CHECK_DATOS = "checkDatos";
    	public static final String REGISTRAR_FROM_PASAJERO = "registrarFromPasajero";
    }
    
    public static class Pasajeros
    {
    	public static final String SERVICIO = "pasajero/";
    	
    	public static final String REGISTRO = "registrar";
    	public static final String INICIAR_SESION = "iniciarSesion";
    	public static final String CERRAR_SESION = "cerrarSesion";
    	public static final String FAVORITOS = "favoritos";
    	public static final String GUARDAR_FAVORITOS = "agregarFavorito";
    	public static final String CHECK_DATOS = "checkDatos";
    	public static final String REGISTRAR_FROM_CHOFER = "registrarFromChofer";
    }
    
    public static class Moviles
    {
    	public static final String SERVICIO = "movil/";
    	
    	public static final String MOVILES_CHOFER = "movilesChofer";
    	public static final String REGISTRAR_MOVIL = "registrarMovil";
    }
    
    public static class Caracteristicas
    {
    	public static final String SERVICIO = "caracteristicas/";
    	
    	public static final String TODAS = "todas";
    	public static final String NUEVA = "nueva";
    }
    
    public static class Turnos
    {
    	public static final String SERVICIO = "turnos/";
    	
    	public static final String ASIGNAR_MOVIL = "asignarMovil";
    }
    
    public static class Viajes
    {
    	public static final String SERVICIO = "viaje/";
    	
    	public static final String VIAJE_CHOFER = "viajeChofer";
    	public static final String VIAJE_PASAJERO = "viajePasajero";
    	public static final String SOLICITAR = "solicitar";
    	public static final String TIEMPO_ESTIMADO = "tiempoEstimado";
    	
    	public static final String RECHAZAR = "rechazar";
    }
    
    public static class TipoGCM
    {
    	public static final String SOLICITUD_VIAJE = "solicitud viaje";
    	public static final String CHOFER_ASIGNADO = "chofer asignado";
    	public static final String VIAJE_INCIADO = "viaje iniciado";
    	public static final String VIAJE_FINALIZADO = "viaje finalizado";
    	public static final String VIAJE_CANCELADO = "viaje cancelado";
    	public static final String SIN_CHOFER = "no hay choferes";
    }
    
    public static class FILTER_GCM
    {
    	public static final String CHOFER = "gcm_chofer";
    	public static final String PASAJERO = "gcm_pasajero";
    }
    
    public static class Registro
	{
		public static final int OK = 0;
		public static final int FALLO_PERSISTENCIA = 1;
		public static final int EMAIL_EXISTENTE = 2;
		public static final int FALTAN_DATOS = 3;		
		public static final int NULL = 4;
	}
    
    public static class RegistroUsuario
    {
    	public static final int REGISTRO_PASAJERO = 0;
    	public static final int REGISTRO_CHOFER = 1;
    	
    	public static final String MOVIL = "MOVIL";
    	public static final String CHOFER = "CHOFER";
    }
    
    public static class DataBundle
    {
    	public static final String TURNO = "turno";
    	public static final String MOVIL = "movil";
    	public static final String CHOFER = "chofer";
    	public static final String PASAJERO = "pasajero";
    }
    
    public static class Archivos
    {
    	public static final String GCM = "gcm.txt";
    	public static final String id = "id.txt";
    }
}
